package study.repository.blog;

import java.util.List;

import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;

import study.domain.blog.Post;

public interface PostRepository extends PagingAndSortingRepository<Post, Long>,
		JpaSpecificationExecutor<Post>, PostRepositoryCustom {

	List<Post> findByUser_UserId(Long userId);

}
